package com.monitor.service;

import com.baomidou.mybatisplus.service.IService;
import com.monitor.entity.ErpCustomerCar;
import com.monitor.util.Result;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 客户车辆表 服务类
 * </p>
 *
 * @author LX
 * @since 2018-09-05
 */
public interface ErpCustomerCarService extends IService<ErpCustomerCar> {

    List<Map<String,Object>> getCatInsurance(String custIds,Integer page,Integer limit);

    List<Map<String,Object>> getCatInsuranceList(String custIds);

    public Result<ErpCustomerCar> addAndUpdate(ErpCustomerCar customerCar,int userId);
    
    public ErpCustomerCar selectByCarPlate(String carPlate);
}
